cmake_minimum_required(VERSION 3.16)

project(example VERSION 0.1 LANGUAGES CXX)

find_package(Qt6 6.4 REQUIRED COMPONENTS Quick Network)

qt_standard_project_setup()

FILE (GLOB SOURCE "./*.h" "./*.cpp" "./*.c")

include_directories(
    "${CMAKE_SOURCE_DIR}/Core"
    "${CMAKE_SOURCE_DIR}/QtSupport"
)

qt_add_executable(example
    ${SOURCE}
)

target_link_libraries(example
    PRIVATE Qt6::Quick Qt6::Network CCoroutineCore CCoroutineQt
)
